
export class PageModel {
  public maxSize:number = 10;
  public itemsPerPage:number=20;
  public totalItems:number =1;
  //不要手动对这个属性进行赋值，它是和分页工具条自动绑定的
  public currentPage:number;

  public setPage(setting:any){
    // this.itemsPerPage = setting['per_page'];
    this.totalItems = Number(setting['iTotalRecords']);
    //this.currentPage = setting['nowPage'];

  }
}
